Repository navigation
Run HTTP benchmark clients without GPU privileges - #148
Merged
Merged
Conversation
alaydshah
marked this pull request as ready for review
November 12, 2026 21:53
alaydshah
requested review from
a team,
haofrank and
sinarafati-amd
as code owners
November 12, 2026 21:53
Member
|
This change makes sense. Could we also skip automatic GPU selection for these HTTP-only clients? It runs before the Docker command is built, so a CPU-only host can still fail even with this change. Detecting client-only mode earlier and reusing that decision in both places would address this. A test that starts from the benchmark entry point on a host without GPUs would help cover it. |
Resolve the benchmark script before GPU selection and share the client-only check with Docker setup. Cover the benchmark entry point on a GPU-less host while preserving serving and custom-script selection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Endpoint benchmarks only send HTTP requests, but their Docker containers still request GPU devices and serving privileges. This blocks CPU-only clients on hosts that reject privileged containers.
Reuse the existing client phase and built-in
BENCHMARK_BASE_URLworkflow in the Docker command builder:Adds focused regression cases and a configuration note. No serving lifecycle or backend changes.
Validation
Completed on
99cb215:nofile=65536.Stock C2048 also passed on latest
0cf07a6: 2,048/2,048 completed, zero failures, exact 1,024-input/100-output token lengths. Stock results span two evaluations because a controller-connectivity interruption required rerunning only C2048. Final artifact/TIDE handoff and cleanup are verified: published artifact sizes/digests match their manifests, serving/client containers are absent, and both workers are released with GPU memory clear. Both upstream Linux CI jobs passed on99cb215. Follow-up0cf07a6preserves GPU options for custom scripts in subfolders, even when they share a bundled filename; its 69-test benchmark suite and both upstream Linux CI jobs passed (Python 3.12: 1,572 passed, 1 skipped; Python 3.10: 1,484 passed, 89 skipped). Copilot review is pending; the review request was rejected by account eligibility. These are capacity/integration checks; accuracy was disabled and performance gains are not claimed.Follow-up
4578940resolves the selected script before automatic GPU selection and shares the HTTP-client check with Docker setup. The entry-point regression test reproduces a GPU-less host with automatic selection enabled and checks that ordinary serving/custom scripts retain GPU selection. All 195 relevant tests pass; both upstream Linux CI jobs passed for this follow-up.